package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.web.vo.homeSite.HomeSiteAdAutopaly;

public interface IHomeSiteAdAutopalyDao {

	public void saveOrUpdate(HomeSiteAdAutopaly hs) throws DataAccessException;
	
	public void delete(Integer id) throws DataAccessException;
	
	public HomeSiteAdAutopaly loadById(Integer id) throws DataAccessException;
	
	public List<HomeSiteAdAutopaly> loadAllList() throws DataAccessException;
	
	public List<HomeSiteAdAutopaly> loadTop(Integer top) throws DataAccessException;
	
}
